package com.sap.tpcd.policybuilder.policymodel ;


/**
 * This class could be a Service , Action or an operation it depends on the
 * instantiation
 * @author I068988
 * @version 1.0
 * @created 30-sept.-2011 14:12:32
 */
public class Operation extends PolicyElement {

	private Action action;
	private String name;
	private Ressource ressource;

	public Operation(){
		super();
	}

	
	public Operation(Action action, String name, Ressource ressource) {
		super();
		this.action = action;
		this.name = name;
		this.ressource = ressource;
	}


	/**
	 * @return the action
	 */
	public Action getAction() {
		return action;
	}

	/**
	 * @param action the action to set
	 */
	public void setAction(Action action) {
		this.action = action;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the ressource
	 */
	public Ressource getRessource() {
		return ressource;
	}

	/**
	 * @param ressource the ressource to set
	 */
	public void setRessource(Ressource ressource) {
		this.ressource = ressource;
	}

}